.bg {
  background-color: #f7f8fa;
  min-height: 100vh;
}
.state {
  background: #ffffff;
  margin-bottom: 20rpx;
  padding: 26rpx 30rpx;
  display: flex;
  justify-content: space-between;
  .state_box {
    font-weight: 500;
    font-size: 34rpx;
    color: #1d2129;
    line-height: 48rpx;
    text-align: left;
  }
  .state_line {
    image {
      width: 124rpx;
      height: 124rpx;
    }
  }
}
.top {
  // position: sticky;
  // top: 88rpx;
  // left: 0;
  background-color: #ffffff;
  padding: 12rpx 0rpx 0rpx;
  padding: 30rpx 30rpx;
  .top_title {
    font-weight: bold;
    font-size: 30rpx;
    color: #1d2129;
    line-height: 44rpx;
    padding-bottom: 10rpx;
    text-align: left;
    border-bottom: 1rpx solid #e0e0e0;
  }
  .top_dn {
    margin-top: 24rpx;
    font-weight: 400;
    font-size: 28rpx;
    color: #1d2129;
    line-height: 44rpx;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .text_left {
      font-weight: 400;
      font-size: 28rpx;
      color: #4e5969;
      line-height: 44rpx;
      text-align: left;
    }
    .copy {
      font-weight: 400;
      font-size: 28rpx;
      color: #86909c;
      line-height: 44rpx;
      text-align: right;
      margin-left: 16rpx;
      padding-left: 16rpx;

      border-left: 2rpx solid #e5e6eb;
    }
  }
}
.loading {
  margin-top: 30%;
  text-align: center;
  color: #a5a5a5;
  .loading_box {
    display: flex;
    justify-content: center;
  }
  .reload {
    // animation: all 0.5s linear infinite ;
    animation: animation-name 0.8s linear infinite;
  }
  .loading_text {
    animation: animation-name2 0.8s linear infinite;
  }
}

.info {
  margin-top: 20rpx;
  padding: 30rpx;
  background-color: #ffffff;
  .info_title {
    font-weight: bold;
    font-size: 30rpx;
    color: #1d2129;
    line-height: 42rpx;
    text-align: left;
    // padding-bottom: 20rpx;
    display: flex;
    justify-content: space-between;
    // border-bottom: 1rpx solid #e5e5e5;
    .info_title_right {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      .info_title_right_item {
        font-weight: 400;
        font-size: 24rpx;
        color: #1d2129;
        line-height: 32rpx;
        text-align: center;
        padding: 8rpx 16rpx;
        border-radius: 4rpx 4rpx 4rpx 4rpx;
        border: 2rpx solid #c9cdd4;
        margin-left: 16rpx;
      }
      .active {
        color: #1679fb;
        background: #e8f3ff;
        border: 2rpx solid #1679fb;
      }
    }
  }
  .info_dh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32rpx;
    font-weight: 400;
    font-size: 24rpx;
    color: #1d2129;
    line-height: 34rpx;
    text-align: left;
    .color {
      color: #86909c;
    }
  }
  .info_list {
    margin-top: 24rpx;

    .info_item {
      font-weight: 400;
      font-size: 24rpx;
      color: #1d2129;
      line-height: 34rpx;
      display: flex;
      padding-top: 20rpx;
      padding-bottom: 20rpx;
      border-bottom: 1rpx solid #e5e5e5;

      .info_item_title {
        flex: 2;
        padding-right: 10rpx;
        padding-left: 10rpx;
      }
      .info_item_num {
        flex: 1;
        padding-right: 10rpx;
        padding-left: 10rpx;
      }
      .info_item_uit {
        flex: 1;
        padding-right: 10rpx;
        padding-left: 10rpx;
      }
      .info_item_price {
        flex: 2;
        padding-right: 10rpx;
        padding-left: 10rpx;
      }
      .info_item_num,
      .info_item_uit,
      .info_item_price {
        text-align: right;
        overflow: hidden;
      }
      .info_item_num2 {
        flex: 2;
      }
      .item {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }

    .title {
      background-color: #f7f8fa;
      text-align: center;
    }
    .texts {
      align-items: center;
      .info_item_title {
        text-align: left;
      }
      .info_item_num,
      .info_item_uit,
      .info_item_price {
        text-align: right;
      }
    }

    .input_num {
      border: 1rpx solid #e5e5e5;
      height: 50rpx;
      border-radius: 15rpx;
      // padding-right: 10rpx;
      text-align: center;
    }
  }
  .info_item-fo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30rpx;
    .info_item_left {
      font-weight: 400;
      font-size: 28rpx;
      color: #86909c;
      line-height: 40rpx;
      text-align: right;
    }
    .info_item_center {
      font-weight: 400;
      font-size: 32rpx;
      color: #1d2129;
      line-height: 44rpx;
      margin-left: 8rpx;
    }
    .info_item_right {
      font-weight: bold;
      font-size: 36rpx;
      color: #1d2129;
      line-height: 50rpx;
    }
    .bt-colors {
      color: #ff5722;
    }
  }
}

//页脚
.bt_form {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: white;
  border-top: 1rpx solid #e5e6eb;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);

  .bt_form_k {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16rpx 30rpx;
    .bt_close,
    .bt_up {
      border: none;
      background-color: #1679fb;
      color: #ffffff;
    }

    .bt_bl {
      border: none;
      background-color: #1679fb;
      color: #ffffff;
    }
  }
}

.pop-content {
  width: 100%;
  // background: #ffffff;
  // box-shadow: inset 0rpx -1rpx 0rpx 0rpx #e5e6eb;
  padding: 0rpx 0 0rpx;
  .pop-content-info {
    padding: 0rpx 0rpx;
  }
  .title {
    text-align: left;
    font-weight: 400;
    font-size: 28rpx;
    color: #86909c;
    line-height: 40rpx;
    text-align: left;
    background: #e8f3ff;
    padding: 20rpx 30rpx;
  }
  .content-to {
    // margin-top: 24rpx;
    padding-top: 24rpx;
    background-color: #f2f3f5;
    padding-bottom: 40rpx;
    .input {
      border: none;
    }
    .up-type {
      padding: 30rpx;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .left {
        font-weight: 400;
        font-size: 28rpx;
        color: #86909c;
        line-height: 40rpx;
        text-align: left;
      }
      .right {
        width: 220rpx;
        margin-left: 40rpx;
        font-weight: 400;
        font-size: 28rpx;
        color: #ffffff;
        line-height: 44rpx;
        text-align: center;
        padding: 12rpx 40rpx;
        background: #1679fb;
        border-radius: 8rpx 8rpx 8rpx 8rpx;
        white-space: nowrap;
      }
      .right2 {
        color: #1679fb;
        background: #ffffff;
        border: 2rpx solid #1679fb;
        border-radius: 8rpx 8rpx 8rpx 8rpx;
      }
    }
  }
  .btns {
    margin-top: 40rpx;
    display: flex;
    justify-content: center;
    border-top: 1rpx solid #e5e6eb;
    .btns-bt {
      flex: 1;
      font-weight: 400;
      font-size: 32rpx;
      color: #1d2129;
      line-height: 44rpx;
      text-align: center;
      padding: 22rpx 0rpx;
      border-right: 1rpx solid #e5e6eb;
    }
    .btns-lien {
      width: 1rpx;
      height: 100%;
      background-color: #1d2129;
    }
    .btns-qd {
      flex: 1;
      font-weight: 400;
      font-size: 32rpx;
      color: #1d2129;
      line-height: 44rpx;
      text-align: center;
      padding: 22rpx 0rpx;
    }
  }
}

@keyframes animation-name {
  from {
    /* 初始状态 */
    transform: rotate(0deg);
    // opacity: 0;
  }
  to {
    /* 结束状态 */
    transform: rotate(360deg);
    // opacity: 1;
  }
}
@keyframes animation-name2 {
  from {
    /* 初始状态 */
    // transform: rotate(0deg);
    opacity: 0;
  }
  to {
    /* 结束状态 */
    // transform: rotate(360deg);
    opacity: 1;
  }
}
